﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Intergr8.Data.Query
{
    /// <summary>
    /// 
    /// </summary>
    public class Clause
    {
        private string _type = "";
        private int _index = -1;
        private string _items = "";

        /// <summary>
        /// 
        /// </summary>
        /// <param name="type"></param>
        /// <param name="index"></param>
        public Clause(string type, int index)
        {
            _type = type;
            _index = index;
        }

        /// <summary>
        /// 
        /// </summary>
        public string Type
        {
            get { return _type; }
            set { _type = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        public int Index
        {
            get { return _index; }
            set { _index = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        public string Items
        {
            get { return _items; }
            set { _items = value; }
        }

    }
}
